Skip to content

Conversation

@rma-rripken
Copy link
Collaborator

No description provided.

@rma-rripken
Copy link
Collaborator Author

still lots to cleanup and reorganize

Copy link
Contributor

@MikeNeilson MikeNeilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable so far.

@rma-rripken rma-rripken force-pushed the feature/cda-37-s3_blob_and_clob branch from 4da44e9 to d02ccfe Compare December 24, 2025 01:11
@rma-rripken rma-rripken marked this pull request as ready for review January 9, 2026 18:04
@rma-rripken
Copy link
Collaborator Author

I think I've implemented all the blob parts. Would need to follow up with a similar clob dao that handles text encoding.

Copy link
Contributor

@MikeNeilson MikeNeilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. A few nitpicks and probably at least one just misunderstanding of togglz on my part I need clarified.

private BlobAccess chooseBlobAccess(DSLContext dsl) {
boolean useObjectStore = isObjectStorageEnabled();
try {
// Prefer Togglz if available
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why wouldn't it be available?

return new BlobDao(dsl);
}

private boolean isObjectStorageEnabled() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this just use the CdaFeatures thing?

.assertThat()
.statusCode(is(HttpServletResponse.SC_OK))
.header("Transfer-Encoding", equalTo("chunked"))
// .header("Transfer-Encoding", equalTo("chunked"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove or uncomment

}
}

private static void setupMinioResources() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. This should just be in the Cda Setup extension and can just be started whenever, eventually it'll be the only option and it doesn't really get in the way just being on.
  2. https://testcontainers.com/modules/minio/ (favor the testcontainer helper modules unless you have reason not to, we do our own for CWMS to make the CWMS setup easier to handle.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants